rootdir = ../..
include("$$rootdir/common.pri")

TEMPLATE = lib
CONFIG += qt warn_on
DEFINES += BUILD_UTIL_DLL
QT -= gui

TARGET = greenhills.util

public_headers = ../exception.h \
    ../lineterminal.h \
    ../memstreambuf.h \
    ../binstream.h \
    ../conversion.h \
    ../xorcipher.h \
    ../utildll.h \
    ../serialport.h \
    ../timerbox.h

SOURCES += lineterminal.cpp \
    memstreambuf.cpp \
    binstream.cpp \
    conversion.cpp \
    xorcipher.cpp \
    exception.cpp \
    timerbox.cpp

win32:SOURCES += serialport_win32.cpp
unix:SOURCES += serialport_linux.cpp

HEADERS += $$public_headers
